package com.cc.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cc.user.entity.EmployeeCustomerEntity;
import com.cc.user.entity.UserEntity;
import com.cc.user.vo.*;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author leifengyang
 * @email leifengyang@gmail.com
 * @date 2020-12-11 11:30:58
 */
public interface EmployeeCustomerService extends IService<EmployeeCustomerEntity> {

    UserEntity getEmployee(Long uid);

    List<CustomerVo> getAllCustomers(Long eid);

    CustomerDetailVo getCustomerDetailByCid(Long cid);

    List<CustomerVo> getCustomersByPhoneOrName(Long eid, String condition);

    List<EmployeeCustomerVo> getEmployeesCustomers(String empMobile, String cusMobile);

    List<OfflineOrderNewVo> getCustomerDetailByEidCid(Long eid, Long cid);

    List<OfflineOrderProductNewVo> getOfflineOrderProductsById(Long ooid);
}

